import { defHttp } from '/@/utils/http/axios';
import { message } from 'ant-design-vue';
let yewuApi = {
	bizOperatorsList: '/bizOperators/list?column=createTime&order=desc&pageNo=1&pageSize=100',
	bizChargeStationList: '/bizChargeStation/list?column=createTime&order=desc&pageNo=1&pageSize=100',
};

// 全景检测充电站详情
// 获取充电站详情页面标题数据
export const getTitle = (params) => {
	return defHttp.get({ url: '/stationMonitor/title', params });
};
// 充电桩监测
export const getStake = (params) => {
	return defHttp.get({ url: '/stationMonitor/stake', params });
};
// 充电桩实时充电详情
export const getStakeDetail = (params) => {
	return defHttp.get({ url: '/stationMonitor/stakeDetail', params });
};  

  // 充电站指标检测
export const stationIndicator = (params) => {
	return defHttp.get({ url: '/stationMonitor/stationIndicator', params });
};  
  // 充电站监测 充电趋势
    export const stationChargeCurve = (params) => {
	return defHttp.get({ url: '/stationMonitor/stationChargeCurve', params });
};  

  // 预警原因分析
  export const warnInfoAnalysis = (params) => {
	return defHttp.get({ url: '/stationMonitor/warnInfoAnalysis', params });
};  
  // 各个桩预警次数
  export const stakeWarnNum = (params) => {
	return defHttp.get({ url: '/stationMonitor/stakeWarnNum', params });
};  